package com.ict.ais.area.service.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ict.ais.area.facade.model.Area;

import java.util.List;

/**
 * Created by StevenH on 2016/12/19.
 */
@Repository
public interface IAreaOpeDao {
    List<Area> getAllAreas(@Param("status") int status,@Param("pageid") int pageid,@Param("pagecount") int pagecount);
    int getAreaCount(@Param("status") int status);
/*    List<Rectangle> getRectangles(int status);
    List<Polygon> getPolygons(int status);
    List<Circle> getCircles(int status);*/
    Area getArea(@Param("id") int id);
    Area getAreaCustom(@Param("id") int id);
    void delArea(@Param("id")int id);
    void delAreaCustom(@Param("id") int id);
}

